package com.ruoyi.bearing.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.ruoyi.bearing.domain.ModelTrain;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * 模型训练
 */
public interface IModelTrainService {
    /**
     * 诊断模型训练
     */
    public String startDiagnosisModelTrain(MultipartFile file, ModelTrain modelTrain) throws IOException, IllegalAccessException;

    /**
     * 预测模型训练
     */
    public String startPredictionModelTrain(MultipartFile file, ModelTrain modelTrain);
}
